export type * from './Notice';

import Notices from './Notices.svelte';
import usePortal from '../utils/usePortal';
import { mount } from 'svelte';

const ele = usePortal("cm-notice-portal", "cm-notices-wrap")
export const notice = mount(Notices, {target: ele});